package edu.szcu.vitaguard.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * 医生排班实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Schedule {
    /**
     * 排班ID
     */
    private Integer scheduleId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 医生
     */
    private Doctor doctor;

    /**
     * 科室ID
     */
    private Integer deptId;

    /**
     * 科室
     */
    private Department department;

    /**
     * 排班日期
     */
    private LocalDate scheduleDate;

    /**
     * 时间段开始时间
     */
    private LocalTime startTime;

    /**
     * 时间段结束时间
     */
    private LocalTime endTime;

    /**
     * 最大预约数
     */
    private Integer maxAppointments;

    /**
     * 状态：可用/已满/取消
     */
    private String status;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
